<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>zstd</Name>
        <Homepage>https://www.zstd.net/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPL2</License>
        <IsA>app:console</IsA>
        <Summary>Zstandard - Fast real-time compression algorithm</Summary>
        <Description>Zstandard - Fast real-time compression algorithm</Description>
        <Archive sha1sum="c53019729e3a595f0104facab6533d78296a2945" type="targz">https://github.com/facebook/zstd/releases/download/v1.5.0/zstd-1.5.0.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>libgcc</Dependency>
            <Dependency>xz-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
        </BuildDependencies>
        <!--
        <Patches>
            <Patch>zstd.patch</Patch>
            <Patch level="1">zstd.patch</Patch>
        </Patches>
        -->
    </Source>

    <Package>
        <Name>zstd</Name>
        <RuntimeDependencies>
            <Dependency>xz</Dependency>
            <Dependency>zlib</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="data">/usr/share</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>
    
    <Package>
        <Name>zstd-devel</Name>
        <Summary>Development files for zstd</Summary>
        <RuntimeDependencies>
            <Dependency release="current">zstd</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="library">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>
    
    <History>
        <Update release="1">
            <Date>2021-10-21</Date>
            <Version>1.5.0</Version>
            <Comment>Version bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2020-02-14</Date>
            <Version>1.4.4</Version>
            <Comment>First release</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
